/**
 * 集中依赖管理
 */
object Depends {

    /**
     * 官方
     */
    object Support {
        const val coreKTX = "androidx.core:core-ktx:1.9.0"
        const val lifecycleRuntime = "androidx.lifecycle:lifecycle-runtime-ktx:2.6.1"
        const val appcompat = "androidx.appcompat:appcompat:1.3.1"
        const val recyclerview = "androidx.recyclerview:recyclerview:1.2.1"
        const val activity = "androidx.activity:activity:1.7.2"
        const val constraintlayout = "androidx.constraintlayout:constraintlayout:2.0.4"
        const val viewPager2 = "androidx.viewpager2:viewpager2:1.0.0"
    }

    /**
     * Compose
     */
    object Compose {
        const val activityCompose = "androidx.activity:activity-compose:1.7.0"
        const val composeBom = "androidx.compose:compose-bom:2023.03.00"
        const val ui = "androidx.compose.ui:ui"
        const val uiGraphics = "androidx.compose.ui:ui-graphics"
        const val uiToolingPreview = "androidx.compose.ui:ui-tooling-preview"
        const val uiTooling = "androidx.compose.ui:ui-tooling"
        const val material3 = "androidx.compose.material3:material3"
    }

    /**
     * 开源库
     */
    object Libs {
        private const val retrofit_version = "2.9.0"
        private const val arouter_version = "1.5.2"
        private const val refresh_version = "2.1.0"

        const val baseAdapter = "io.github.cymchad:BaseRecyclerViewAdapterHelper4:4.1.4"
        const val gson = "com.google.code.gson:gson:2.8.2"
        const val okHttp = "com.squareup.okhttp3:okhttp:4.7.2"
        const val retrofit = "com.squareup.retrofit2:retrofit:$retrofit_version"
        const val converterGson = "com.squareup.retrofit2:converter-gson:$retrofit_version"
        const val loggingInterceptor = "com.squareup.okhttp3:logging-interceptor:4.7.2"
        const val logger = "com.orhanobut:logger:2.2.0"
        const val arouter = "com.alibaba:arouter-api:$arouter_version"
        const val arouter_compiler = "com.alibaba:arouter-compiler:$arouter_version"
        const val rWidgetHelper = "com.github.RuffianZhong:RWidgetHelper:androidx.v0.0.14"
        const val refreshLayout = "io.github.scwang90:refresh-layout-kernel:$refresh_version"
        const val refreshHeader = "io.github.scwang90:refresh-header-classics:$refresh_version"
        const val refreshFooter = "io.github.scwang90:refresh-footer-classics:$refresh_version"
        const val leakCanary = "com.squareup.leakcanary:leakcanary-android:2.14"
        const val glide = "com.github.bumptech.glide:glide:4.16.0"
        const val glide_compiler = "com.github.bumptech.glide:compiler:4.16.0"
        const val autoSize = "com.github.JessYanCoding:AndroidAutoSize:v1.2.1"
        const val lottie = "com.airbnb.android:lottie:6.0.0"
        const val permission = "com.github.getActivity:XXPermissions:20.0"
        const val consecutiveScroller = "com.github.donkingliang:ConsecutiveScroller:4.6.4"
        const val android_svg = "com.caverock:androidsvg-aar:1.4"
    }

    /**
     * Flipper调试
     */
    object Flipper {
        private const val version = "0.250.0"

        const val flipper = "com.facebook.flipper:flipper:$version"
        const val flipperSoloader = "com.facebook.soloader:soloader:0.10.5"
        const val flipperLitho = "com.facebook.flipper:flipper-litho-plugin:$version"
        const val flipperLithoAnnotation = "com.facebook.litho:litho-annotations:0.19.0"
        const val flipperNetWork = "com.facebook.flipper:flipper-network-plugin:$version"
    }

}